<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%><compress:html enabled="true" removeComments="false" compressJavaScript="true" yuiJsDisableOptimizations="true">
<!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<%@include file="../head.jsp" %>
<style type="text/css">
.pagination {margin:0px}
</style>
<script type="text/javascript">
$(document).ready(function() {
	$('form').submit(function(){
		$('#submit').attr('disabled', true);
	});
});
</script>
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="form">
<form id="form" name="form" method="POST" action="">
<table>
<tr>
<th>货物</th>
<td>
${brand.name} / ${category.name} / ${goods.name}
</td>
</tr>
<tr>
<th>别名</th>
<td>
${goods.displayName}
</td>
</tr>
<tr>
<th>进货价格</th>
<td>
${item.cost}
</td>
</tr>
<tr>
<th>进货时间</th>
<td>
<fmt:formatDate pattern="yyyy-MM-dd hh:mm:ss" value="${item.addTime}" />
</td>
</tr>
<tr>
<th>备注</th>
<td>
${item.memo}
</td>
</tr>
<tr>
<th>退回数量</th>
<td>
<select id="count" name="count">
<c:forEach begin="1" end="${count}" varStatus="s">
<option>${s.index}</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th></th>
<td>
<input type="hidden" name="backURL" id="backURL" value="${backURL}" />
<input type="submit" id="submit" name="submit" value="确定退回" />
</td>
</tr>
</table>
</form>
</div>
<div class="sidebarMenu">
<ul>
<li><a href="/a/store/form">添加库存</a></li>
</ul>
</div>
<%@ include file="sidebar.jsp" %>
</div>
</div>
</body>
</html>
</compress:html>